package csdn.jicheng1.Employee;

public class Manner extends Employee{
    private int bonns;

    //构造器
    public Manner(){}
    public Manner(String name,int id,int age,int bonns){
        super(name,id,age);
        this.bonns=bonns;
    }
    //get、set方法

    //重写doWork项目经理工作是有奖金的
    public void doWork(String work){
        System.out.println("奖金是"+bonns);
    }

}
